package world.xuewei.dao;

/**
* @author 陈相州
* @description 针对表【shop_activity】的数据库操作Mapper
* @createDate 2024-11-28 16:51:16
*/

import world.xuewei.model.entity.ShopActivity;

import java.util.List;

/**
 * 商家活动表(shop_activity)表数据库访问层
 *
 * @author makejava
 * @since 2024-11-16 00:38:56
 */
public interface ShopActivityDao {

    // 查询
    List<ShopActivity> getShopActivityList(Long merchantId);

    // 添加商家活动
    int addShopActivity(ShopActivity shopActivity);

    // 修改状态
    void setIsStatus(Long id);

    // 修改商家活动
    int updateShopActivity(ShopActivity shopActivity);

    // 删除
    int deleteShopActivity(Long id);

    List<ShopActivity> getAllShopActivity(Long userId);
}




